class UserRealNameModel {
  int code;
  String msg;
  String time;
  Data data;

  UserRealNameModel({this.code, this.msg, this.time, this.data});

  UserRealNameModel.fromJson(Map<String, dynamic> json) {
    code = json['code'];
    msg = json['msg'];
    time = json['time'];
    data = json['data'] != null ? new Data.fromJson(json['data']) : null;
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['code'] = this.code;
    data['msg'] = this.msg;
    data['time'] = this.time;
    if (this.data != null) {
      data['data'] = this.data.toJson();
    }
    return data;
  }
}

class Data {
  int id;
  int userId;
  String realname;
  String idcard;
  String mobile;
  String pressLinkMan;
  String linkManMobile;
  String idcardFrontImage;
  String idcardBackImage;
  String handIdcardFrontImage;
  int auditStatus;
  String remark;
  int auditTime;
  int createtime;
  int updatetime;
  String deletetime;
  String auditTimeText;
  String createtimeText;

  Data(
      {this.id,
      this.userId,
      this.realname,
      this.idcard,
      this.mobile,
      this.pressLinkMan,
      this.linkManMobile,
      this.idcardFrontImage,
      this.idcardBackImage,
      this.handIdcardFrontImage,
      this.auditStatus,
      this.remark,
      this.auditTime,
      this.createtime,
      this.updatetime,
      this.deletetime,
      this.auditTimeText,
      this.createtimeText});

  Data.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    userId = json['user_id'];
    realname = json['realname'];
    idcard = json['idcard'];
    mobile = json['mobile'];
    pressLinkMan = json['press_link_man'];
    linkManMobile = json['link_man_mobile'];
    idcardFrontImage = json['idcard_front_image'];
    idcardBackImage = json['idcard_back_image'];
    handIdcardFrontImage = json['hand_idcard_front_image'];
    auditStatus = json['audit_status'];
    remark = json['remark'];
    auditTime = json['audit_time'];
    createtime = json['createtime'];
    updatetime = json['updatetime'];
    deletetime = json['deletetime'];
    auditTimeText = json['audit_time_text'];
    createtimeText = json['createtime_text'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['user_id'] = this.userId;
    data['realname'] = this.realname;
    data['idcard'] = this.idcard;
    data['mobile'] = this.mobile;
    data['press_link_man'] = this.pressLinkMan;
    data['link_man_mobile'] = this.linkManMobile;
    data['idcard_front_image'] = this.idcardFrontImage;
    data['idcard_back_image'] = this.idcardBackImage;
    data['hand_idcard_front_image'] = this.handIdcardFrontImage;
    data['audit_status'] = this.auditStatus;
    data['remark'] = this.remark;
    data['audit_time'] = this.auditTime;
    data['createtime'] = this.createtime;
    data['updatetime'] = this.updatetime;
    data['deletetime'] = this.deletetime;
    data['audit_time_text'] = this.auditTimeText;
    data['createtime_text'] = this.createtimeText;
    return data;
  }
}
